package com.jeffse.light.stream.core.tuple;

import java.io.Serializable;

/**
 * tuple contain three objects;
 */
public class Tuple10<A, B, C, D, E, F, G, H, I, J> implements Serializable {
    public final A f0;
    public final B f1;
    public final C f2;
    public final D f3;
    public final E f4;
    public final F f5;
    public final G f6;
    public final H f7;
    public final I f8;
    public final J f9;
    public Tuple10(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j) {
        f0 = a;
        f1 = b;
        f2 = c;
        f3 = d;
        f4 = e;
        f5 = f;
        f6 = g;
        f7 = h;
        f8 = i;
        f9 = j;
    }
    @Override
    public String toString(){
        return "{" + f0 + ", " + f1 + ", " + f2 +", " + f3 + ", " + f4 + ", " + f5 + ", " + f6 + ", " + f7 + ", " + f8 + ", " + f9 + "}";
    }
}
